import {BaseConfig, FieldConfig} from "@/fields/config";

export class IdCardConfig extends BaseConfig {
  title = "身份证号码";
}

const fieldType = "idCard";

export const idCardDefine = {
  name:"身份证号码",
  icon:"el-icon-postcard",
  type: fieldType,
  create: () => {
    const config = new IdCardConfig();
    return new FieldConfig(fieldType, config);
  },
  design: () => import(/* webpackChunkName: "form.comp.all" */ "@/views/fields/designer/idCard/index"),
  config: () => import(/* webpackChunkName: "form.comp.all" */ "@/views/fields/config/idCard/index")
}
